﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F1F RID: 3871
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicEnterCsReq : IMessage<RogueMagicEnterCsReq>, IMessage, IEquatable<RogueMagicEnterCsReq>, IDeepCloneable<RogueMagicEnterCsReq>, IBufferMessage
	{
		// Token: 0x17003131 RID: 12593
		// (get) Token: 0x0600ADB4 RID: 44468 RVA: 0x001D5FDB File Offset: 0x001D41DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicEnterCsReq> Parser
		{
			get
			{
				return RogueMagicEnterCsReq._parser;
			}
		}

		// Token: 0x17003132 RID: 12594
		// (get) Token: 0x0600ADB5 RID: 44469 RVA: 0x001D5FE2 File Offset: 0x001D41E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicEnterCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003133 RID: 12595
		// (get) Token: 0x0600ADB6 RID: 44470 RVA: 0x001D5FF4 File Offset: 0x001D41F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicEnterCsReq.Descriptor;
			}
		}

		// Token: 0x0600ADB7 RID: 44471 RVA: 0x001D5FFB File Offset: 0x001D41FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicEnterCsReq()
		{
		}

		// Token: 0x0600ADB8 RID: 44472 RVA: 0x001D6003 File Offset: 0x001D4203
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicEnterCsReq(RogueMagicEnterCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ADB9 RID: 44473 RVA: 0x001D601C File Offset: 0x001D421C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicEnterCsReq Clone()
		{
			return new RogueMagicEnterCsReq(this);
		}

		// Token: 0x0600ADBA RID: 44474 RVA: 0x001D6024 File Offset: 0x001D4224
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicEnterCsReq);
		}

		// Token: 0x0600ADBB RID: 44475 RVA: 0x001D6032 File Offset: 0x001D4232
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicEnterCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600ADBC RID: 44476 RVA: 0x001D6050 File Offset: 0x001D4250
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ADBD RID: 44477 RVA: 0x001D6076 File Offset: 0x001D4276
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ADBE RID: 44478 RVA: 0x001D607E File Offset: 0x001D427E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ADBF RID: 44479 RVA: 0x001D6087 File Offset: 0x001D4287
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ADC0 RID: 44480 RVA: 0x001D60A0 File Offset: 0x001D42A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ADC1 RID: 44481 RVA: 0x001D60C6 File Offset: 0x001D42C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicEnterCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ADC2 RID: 44482 RVA: 0x001D60E3 File Offset: 0x001D42E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ADC3 RID: 44483 RVA: 0x001D60EC File Offset: 0x001D42EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004676 RID: 18038
		private static readonly MessageParser<RogueMagicEnterCsReq> _parser = new MessageParser<RogueMagicEnterCsReq>(() => new RogueMagicEnterCsReq());

		// Token: 0x04004677 RID: 18039
		private UnknownFieldSet _unknownFields;
	}
}
